package com.example.thread.callable;

import lombok.extern.slf4j.Slf4j;

import java.util.concurrent.Callable;

@Slf4j
public class MyCallable implements Callable<Integer> {
    @Override
    public Integer call() throws Exception {
        log.info("执行call()方法中....");
        return 1;
    }
}
